<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <title></title>
[#import "/admin/include/admin_pagination.ftl" as p/]
[#include "/admin/include/admin_static.htm"]
    <script type="text/javascript">
        function formSubmit(){
            if($("#remark").val() == ''){
                alert("撤销备注不能为空！");
                return false;
            }

            var options = {
                dataType:"text",
                success: function (result) {

                    layui.msg(result, '${path}/admin/borrow/borrowList.aspx?status=${borrow.status}');

                }
            };
            $("#form1").ajaxSubmit(options);
            return false;
        }
    </script>
</head>
<body>
<div class="main_admin_content">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>撤销</legend>
    </fieldset>
    <form name="form1" id="form1" method="post" action="${path }/admin/borrow/revokeBorrow.aspx"
          onsubmit="return formSubmit();">
        <table class="main_edit_table">
            <tr>
                <th colspan="100">撤销招标
                </th>
            </tr>
            <tr>
                <td>撤销备注：</td>
                <td><input type="hidden" value="${borrow.id}" name="borrowId" />
                    <textarea rows="10" cols="30" name="remark" id="remark" class="layui-textarea"></textarea></td>
            </tr>
            <tr>
                <td colspan="100" class="btn_td"><input type="submit"
                                                        name="verifyYes" value="撤销 " class="btn_blue large" />

                    <input type="button" class="btn_blue large" name="verifyNO" value="取消" onclick="history.back();" />
                </td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>